[BE] FIX: User BlackholedAt 갱신 로직 추가 & 42API 로그인 이후 블랙홀이 DB와 불일치할 경우 … #1674
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
42API 로그인 이후 /callback 으로 요청이 온 경우, 이미 42API 에서 로그인을 허가 해준 경우 이므로, AGU 혹은 블랙홀 유저일 수 없다.
따라서 42API 조회 정보에서 조회한 BlackholedAt과, Cabi DB의 해당 유저 BlackholedAt 이 다르다면, 갱신하도록 갱신 로직을 추가
해당 사항 (중복 선택)
설명
https://github.com/innovationacademy-kr/42cabi/issues/